<?php

namespace app\shop\model;

use think\Model;


class ShopMember extends Model
{
    protected $table = 'xb_shop_member';

    public function getShopMemberInfo($shopId,$mid)
    {
        $map['shop_id'] = $shopId;
        $map['member_id'] = $shopId;
        $data = $this->where($map)->column('id,shop_id,member_id,member_level');
        return $data;
    }
}